package test01;

public class RgbTest {
    public static void main(String[] args) {
        Thread redThread = new Rgb("Red");
        Thread greenThread = new Rgb("Green");
        Thread blueThread = new Rgb("Blue");

        redThread.start();
        greenThread.start();
        blueThread.start();

        // 释放资源

    }
}
